package com.example.spring.rabbitmq.message;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName WorkOrderCreateMessageResp
 * @Description 工单创建消息返回
 * @Author zhengmw
 * @Data 2024/5/29 17:26
 */

@Data
public class WorkOrderCreateMessageResp {
    /**
     * 业务ID
     */
    private String businessId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 工单编号
     */
    private String taskId;

    /**
     * 推送系统
     */
    private String receiverSystem;

    private ResultData data;

    private Integer code;

    private String msg;

    /**
     * @Description 返回结果数据
     *
     * @Author zhengmw
     * @Date 2024/5/30 16:21
     */
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class ResultData {

        /**
         * 订单创建时间
         */
        private String createDatetime;

        /**
         * 期数
         */
        private Integer numberOfPeriods;
    }







}
